package com.stylefeng.guns.biz.page.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author sundm123
 * @since 2018-06-14
 */
@TableName("t_page_list")
public class TPageList extends Model<TPageList> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String title;
    @TableField("jump_type")
    private Integer jumpType;
    @TableField("default_jump_type")
    private Integer defaultJumpType;
    @TableField("app_id")
    private String appId;
    @TableField("app_url")
    private String appUrl;
    @TableField("h5_url")
    private String h5Url;
    private String description;
    @TableField("background_src")
    private String backgroundSrc;
    @TableField("logo_src")
    private String logoSrc;
    @TableField("btn_text")
    private String btnText;
    private String detail;
    @TableField("create_time")
    private Date createTime;
    @TableField("create_id")
    private Long createId;

    @TableField("app_id_key")
    private String appIdKey;
    
    public String getAppIdKey() {
		return appIdKey;
	}

	public void setAppIdKey(String appIdKey) {
		this.appIdKey = appIdKey;
	}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getJumpType() {
        return jumpType;
    }

    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    public Integer getDefaultJumpType() {
        return defaultJumpType;
    }

    public void setDefaultJumpType(Integer defaultJumpType) {
        this.defaultJumpType = defaultJumpType;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppUrl() {
        return appUrl;
    }

    public void setAppUrl(String appUrl) {
        this.appUrl = appUrl;
    }

    public String getH5Url() {
        return h5Url;
    }

    public void setH5Url(String h5Url) {
        this.h5Url = h5Url;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getBackgroundSrc() {
        return backgroundSrc;
    }

    public void setBackgroundSrc(String backgroundSrc) {
        this.backgroundSrc = backgroundSrc;
    }

    public String getLogoSrc() {
        return logoSrc;
    }

    public void setLogoSrc(String logoSrc) {
        this.logoSrc = logoSrc;
    }

    public String getBtnText() {
        return btnText;
    }

    public void setBtnText(String btnText) {
        this.btnText = btnText;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TPageList{" +
        "id=" + id +
        ", title=" + title +
        ", jumpType=" + jumpType +
        ", defaultJumpType=" + defaultJumpType +
        ", appId=" + appId +
        ", appUrl=" + appUrl +
        ", h5Url=" + h5Url +
        ", description=" + description +
        ", backgroundSrc=" + backgroundSrc +
        ", logoSrc=" + logoSrc +
        ", btnText=" + btnText +
        ", detail=" + detail +
        ", createTime=" + createTime +
        ", createId=" + createId +
        "}";
    }
}
